
//- This Source Code Form is subject to the terms of the Mozilla Public
//- License, v. 2.0. If a copy of the MPL was not distributed with this
//- file, You can obtain one at http://mozilla.org/MPL/2.0/.
//-
//- Copyright (c) 2021-present Kaleidos Ventures SL

div.tip(ng-if="tipLoaded", ng-class="tip.color")
  p.title(translate="TIPS.TIPS_TITLE")

  p(translate="{{ tip.message }}")

  div(ng-switch="tip.contentType")
    p(ng-switch-when="icon")
      tg-svg(svg-icon="{{ tip.icon }}")
      span(ng-if="tip.icon == 'icon-upvote'") 5

    tg-board-zoom(ng-switch-when="range")

    p.arrows(ng-switch-when="arrows")
      tg-svg(svg-icon="icon-arrow-left")
      tg-svg(svg-icon="icon-arrow-right")

div.tip(ng-if="!tipLoaded")
  p(translate="COMMON.LOADING")